package com.fighYo.trace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 
 * </p>
 *
 * @author fighYo
 * @since 2022-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Payment对象", description="")
public class Payment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "索引")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "买家ID")
    private String buyerId;

    @ApiModelProperty(value = "买家名")
    private String buyerRealName;

    @ApiModelProperty(value = "买家手机号")
    private String buyerTel;

    @ApiModelProperty(value = "买家身份")
    private String buyerType;

    @ApiModelProperty(value = "卖家ID")
    private String sellerId;

    @ApiModelProperty(value = "卖家名")
    private String sellerRealName;

    @ApiModelProperty(value = "卖家手机号")
    private String sellerTel;

    @ApiModelProperty(value = "卖家ID")
    private String productId;

    @ApiModelProperty(value = "卖家名")
    private String productName;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "单价")
    private String price;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "金额")
    private String amount;

    @ApiModelProperty(value = "产地")
    private String address;

    @ApiModelProperty(value = "产品图片")
    private String img;

    @ApiModelProperty(value = "交易日期")
    private Date happenTime;

    @ApiModelProperty(value = "审核完成 0--否 1--是")
    private String judgeFlag;


}
